<template>
  <div class="box_nav">
    <aside class="aside">
      <div class="guide">
        <h3>开发指南</h3>
        <ul>
          <li>
            <a href="/#/guid">介绍</a>
          </li>
          <li>
            <a href="/#/install">安装</a>
          </li>
          <li>
            <a href="/#/quickstart">快速上手</a>
          </li>
          <li>
            <a href="/#/updatelog">更新日志</a>
          </li>
        </ul>
      </div>
      <div class="compLib">
        <h3>组件</h3>
        <ul>
          <li>
            <h4>Basic</h4>
            <ul>
              <li>
                <a href="/#/button">Button 按钮</a>
              </li>
              <li>
                <a href="/#/icon">Icon 图标库</a>
              </li>
            </ul>
          </li>
          <li>
            <h4>Form</h4>
            <ul>
              <li>
                <a href="/#/calendar">Calendar 日历</a>
              </li>
              <li>
                <a href="/#/dialog">Dialog 对话框</a>
              </li>
              <li>
                <a href="/#/input">Input 输入框</a>
              </li>
              <li>
                <a href="/#/switch">Switch 开关</a>
              </li>
              <li>
                <a href="/#/radio">Radio 单选框</a>
              </li>
            </ul>
          </li>
        </ul>
      </div>
    </aside>
    <article class="md">
      <router-view></router-view>
    </article>
  </div>
</template>

<script>
export default {
  data () {
    return {
      num: '11'
    }
  }
}
</script>

<style scoped>
  .box_nav{
    text-align: left;
    margin: 0 auto ;
    height: 100%;
    position: absolute;
    top: 100px;
    width: 1000px;
    display: flex;
    box-sizing: border-box;
    color: #5e6d82;
    padding-bottom: 5px;
    border-top: 1px solid #dcdfe6;
  }
  .aside li{
    list-style: none;
    padding: 6px 10px;
  }
  .aside{
    padding: 20px;
    border-right: 1px solid #dcdfe6;
    width: 200px;
  }
  .aside h3{
    color: #41b883;
  }
  .aside a{
    text-decoration: none;
    color: #35495e;
  }
  .aside a:hover{
    color: #41b800;
  }
  .md{
    padding: 20px 0 0 20px;
    margin-left: 20px;
    width: 800px;
    overflow: scroll;
  }
</style>
